package com.houtai.bean.dto.course.comments;

import com.houtai.base.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
@ApiModel(value="在线课程评论列表所需参数", description="在线课程评论列表所需参数")
public class TdCourseCommentsListDto extends Page {

    @NotNull(message = "课程id不能为空")
    @ApiModelProperty(value="课程id", name="course_id")
    private int course_id;

    @NotNull(message = "评价类型不能为空")
    @ApiModelProperty(value="0全部1好评2中评3差评", name="comments_type")
    private int comments_type;
    public int getCourse_id() {
        return course_id;
    }

    public void setCourse_id(int course_id) {
        this.course_id = course_id;
    }

    public int getComments_type() {
        return comments_type;
    }

    public void setComments_type(int comments_type) {
        this.comments_type = comments_type;
    }
}
